﻿using System;

namespace diantou.dataModel
{
    /// <summary>
    /// 课程
    /// </summary>
    [fastCSharp.emit.dataSerialize(IsReferenceMember = false, IsMemberMap = false)]
    [fastCSharp.emit.jsonSerialize(IsAllMember = true)]
    [fastCSharp.emit.jsonParse(IsAllMember = true)]
    [fastCSharp.code.cSharp.webView.clientType(Name = "diantou.course")]
    [fastCSharp.code.cSharp.sqlModel]
    public partial class course
    {
        /// <summary>
        /// 课程标识
        /// </summary>
        [fastCSharp.code.cSharp.webView.outputAjax]
        public int Id;
        /// <summary>
        /// 教程标识
        /// </summary>
        public int TutorialId;
        /// <summary>
        /// 排序标识
        /// </summary>
        public byte SortId;
        /// <summary>
        /// 标题
        /// </summary>
        [fastCSharp.emit.dataMember(MaxStringLength = 256)]
        public string Title;

        /// <summary>
        /// 课程描述
        /// </summary>
        [fastCSharp.emit.dataMember(Group = 1, MaxStringLength = 64 << 10)]
        public string Remark = string.Empty;

        /// <summary>
        /// 分页数量
        /// </summary>
        [fastCSharp.emit.dataMember(IsIgnoreCurrent = true)]
        public int PageCount;
    }
}
